Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Latest commit

 

History

History
12 lines (9 loc) · 220 Bytes

2.1.10 - swoole_server->shutdown.md

File metadata and controls

12 lines (9 loc) · 220 Bytes

swoole_server->shutdown

关闭服务器

void swoole_server->shutdown();

此函数可以用在worker进程内。向主进程发送SIGTERM也可以实现关闭服务器。

kill -15 主进程PID